package com.link.base.base.project.controller;

import com.link.base.base.project.model.CarAnnualSales;
import com.link.base.base.project.service.CarAnnualSalesService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 年度车型/车企销售额行
 *
 * @author 王昊
 * @date 2021-05-07 10:46:38
 */
@Controller
@RequestMapping("/link/carAnnualSales")
public class CarAnnualSalesController extends BasicController<CarAnnualSales> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private CarAnnualSalesService carAnnualSalesService;

    @Override
    public BasicService<CarAnnualSales> getBasicService() throws Exception {
        return carAnnualSalesService;
    }
}